﻿<?php require_once(HResponse::path() . 'common/header.html'); ?>
<link href="<?php echo HResponse::uri(); ?>css/base.css?3=4" rel="stylesheet" type="text/css" />
<link href="<?php echo HResponse::uri(); ?>css/style.css?3=4" rel="stylesheet" type="text/css" media='all' />
<link href="<?php echo HResponse::uri(); ?>css/menu.css?3=9" rel="stylesheet" type="text/css" />
<link href="<?php echo HResponse::uri(); ?>css/inner.css?3=7" rel="stylesheet" type="text/css" media='all' />
<link href="<?php echo HResponse::uri(); ?>css/pro.css?3=12" rel="stylesheet" type="text/css">
<link href="<?php echo HResponse::uri(); ?>css/box.css?3=5" rel="stylesheet" type="text/css" />
<link href="<?php echo HResponse::uri(); ?>css/lrtk.css?3=4" rel="stylesheet" type="text/css"  media="all">
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/select.js"></script>
</head>
<body>
<?php require_once(HResponse::path() . 'common/top.html'); ?>
<?php require_once(HResponse::path() . 'common/rec.html'); ?>
<div class="wrapper clearfix">
	<div id="p_right">
		<h2><?php echo HResponse::getAttribute('curParentTitle'); ?></h2>
		<div class="tab-wrapper">
			<ul class="tab-menu">
				<li class="active">COLOR</li><span>|</span>
				<li>SHAPE</li><span>|</span>
				<li>RIM</li><span>|</span>
				<li>MATERIAL</li>
			</ul>
			<div class="tab-content">
				<div class="boxcolor">
					<?php $type = 'color'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
					<label><input type="checkbox" name="color_box" value="<?php echo $item['id']; ?>">
						<?php if ($item['content']) {?>
							<i style="color:<?php echo $item['content']; ?>"></i>
						<?php } else { ?>
							<i style="background-image:<?php echo HResponse::touri($item['image_path']); ?>"></i>
						<?php } ?>
						<i class="chk_txt"><?php echo $item['name']; ?></i></label>
					<?php } ?>
				</div>
				<div class="boxshape">
					<?php $type = 'shape'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
					<label><input type="checkbox" name="shape_box" value="<?php echo $item['id']; ?>"><i class="chk_txt"><?php echo $item['name']; ?></i></label>
					<?php } ?>
				</div>
				<div class="boxrim">
					<?php $type = 'rim'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
					<label><input type="checkbox" name="rim_box" value="<?php echo $item['id']; ?>">
						<i class="chk_txt"><?php echo $item['name']; ?></i></label>
					<?php } ?>
				</div>
				<div class="boxmaterial">
					<?php $type = 'material'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
					<label><input type="checkbox" name="mat_box" value="<?php echo $item['id']; ?>"><i class="chk_txt"><?php echo $item['name']; ?></i></label>
					<?php } ?>
				</div>
			</div>
		</div>
		<div id="content">
		</div>
		<div class="m_pro_list4">

		</div>
		<?php require_once(HResponse::path() . 'common/question.html'); ?>
	</div>
	<div class="clear"></div>
</div>

<?php if(I('keyword')=='procollect'){ ?>
<div class="boxbut"><a href="javascript:void(0)" class="click_pop2">Inquiry</a></div>
<?php } ?>

<?php require_once(HResponse::path() . 'common/footer.html'); ?>
<?php require_once(HResponse::path() . 'common/faq.html'); ?>
<script>
	var parentId = "<?php echo I('parent_id') ?: 0; ?>";
	var keyword  = "<?php echo I('keyword') ?: ''; ?>";
	var page     = 1;
</script>
</body>
</html>

